/* eslint-disable */
var express = require('express')
var router = express.Router()

router.get('/Mccard/ClassBrand/GetTemplate', function (req, res) {
  res.send({
    'code': 0, 'message': 'ok', 'data': {
      templateUrl: JSON.stringify({
        dpi: {
          width: 1080,
          height: 1920
        },
        // edit: true,

        // 当前容器 / 实际容器(1080 * 1920)
        // 如果当前为 540，那么 scale 为 0.5
        // scale: 1,

        background: {
          image: '',
          color: 'rgba(255,255,255,1)'
        },
        controls: [{
            // 1 图片; 2 幻灯片; 3 文本； 4 滚动文本； 5 视频
            type: 1,

            x: 20,
            y: 10,
            w: 300,
            h: 200,

            image: 'http://cdn-portal-img.30edu.com.cn/67b06668-c698-46b8-944c-dd3636fa430f/20141214/cf9efcd6-1f00-41e1-ac99-2038b24e0cbd.jpg',
            zIndex: 10
          },
          {
            // 幻灯片
            type: 2,

            x: 200,
            y: 500,
            w: 400,
            h: 200,
            images: [
              'http://cdn-portal-img.30edu.com.cn/67b06668-c698-46b8-944c-dd3636fa430f/20150109/34a2b0c5-cf75-4c09-bc1f-598d09d4ddcb/ppt.jpg?imageView2/1/w/240/h/176',
              'http://cdn-portal-img.30edu.com.cn/67b06668-c698-46b8-944c-dd3636fa430f/20150109/bb27076f-cd2c-4197-89ea-c573a9d2431e/ppt.jpg?imageView2/1/w/240/h/176',
              'http://cdn-portal-img.30edu.com.cn/67b06668-c698-46b8-944c-dd3636fa430f/20150109/91b1e120-1131-4b92-afa0-1e3d45a025f5/ppt.jpg?imageView2/1/w/240/h/176'
            ],
            zIndex: 11
          },
          {
            // 普通文本
            type: 3,

            x: 200,
            y: 260,
            w: 350,
            h: 200,
            text: '<p>六月二十九日，实验中学党总支组织三十多名党员到万全镇潭子村与村民党员共同开展六月份主题党日互动。</p>',
            zIndex: 1
          },
          {
            // 滚动文本
            type: 4,

            x: 400,
            y: 20,
            w: 300,
            h: 80,
            zIndex: 8,

            text: '<p>深入贯彻学习党的十九大会议精神，深化落实《<mark class="marker-yellow">国家中长期教育改革和发展纲要</mark>》（2010—2020），全面落实《义务教育学校管理标准》，积极培育和践行社会主义核心价值观，传递教育正能量，唱响课改主旋律，焕发校园生命力，塑造校园“文化阵地”、“精神高地”，大力提升办学品位，办人民满意教育。</p>',
            rollType: 1 // 1 上下；2 左右
          },
          {
            // 视频
            type: 5,

            x: 620,
            y: 600,
            w: 260,
            h: 200,
            // 'https://interactive-examples.mdn.mozilla.net/media/examples/flower.webm',
            //   'https://archive.org/download/BigBuckBunny_124/Content/big_buck_bunny_720p_surround.mp4',
            //   'https://archive.org/download/ElephantsDream/ed_1024_512kb.mp4'
            videos: [{
                name: 'flower',
                src: 'http://119.36.140.111/697AED2841F4471B6DDC344FB/0300080200543B5898EEE4020DB1BF6F3507BB-011F-27AE-CE2E-0641C53DFC2D.mp4?ccode=0501&duration=308&expire=18000&psid=1118a24b453e97af42bcbf88e9620b8c&ups_client_netip=705f1aae&ups_ts=1545396171&ups_userid=&utid=f5uZE8KurHMCAXBfENxKAj2l&vid=XODAyNDUyMzc2&vkey=A98126c8bab43fce0ee6523a1e051e3d8&sp=&ali_redirect_domain=ykugc.cp31.ott.cibntv.net&ali_redirect_ex_ftag=dfeab151b17378b4560e0d43ef32bffb0a1440795e80512c&ali_redirect_ex_tmining_ts=1545396171&ali_redirect_ex_tmining_expire=3600&ali_redirect_ex_hot=0'

              },
              {
                name: 'big_buck_bunny_720p_surround',
                src: 'https://archive.org/download/BigBuckBunny_124/Content/big_buck_bunny_720p_surround.mp4'
              },
              {
                name: 'ed_1024_512kb',
                src: 'https://archive.org/download/ElephantsDream/ed_1024_512kb.mp4'
              }
            ],
            zIndex: 2
          },
          {
            // 当前时间
            type: 6,

            x: 620,
            y: 350,
            w: 320,
            h: 230,
            zIndex: 2
          },
          {
            // 天气
            type: 7,

            x: 600,
            y: 200,
            w: 200,
            h: 130,
            zIndex: 2,

            city: '广东省,深圳市',
            fontSize: 100
          },
          {
            // 倒计时
            type: 8,

            x: 760,
            y: 0,
            w: 240,
            h: 200,
            startDate: '2018 12 12 09:10:00',
            themeText: '',
            zIndex: 2
          },
          {
            // 横版滚动文字
            type: 4,

            x: 355,
            y: 110,
            w: 380,
            h: 30,

            text: '<p>上午九点，在嘹亮的国歌声中，在鲜红的党旗下，校、村共六十名党员在潭子村村委会里举行了党日活动。在完成了支部主题党日活动四项规定动作后，实验中学校长、书记叶军同志讲了一节生动的党课，重点学习了习近平总书记视察荆州的讲话精神。会上，潭子村书记栾德祥同志介绍了潭子村基本情况及发展思路。潭子村包村领导也参加了活动。</p>',
            rollType: 2 // 1 上下；2 左右
          }
        ]
      }),
      // templateUrl: 'appraise_noticeboard_month'
      templateUrl: 'appraise_noticeboard'
    }
  })
})

router.get('/Mccard/Ajax/GetTeacherInfoByEquipmentCode', function (req, res) {
  res.send({
    'status': 200, 'message': 'ok', 'data': {
      avatar_url: 'https://cn.vuejs.org/images/logo.png',
      teacher_name: '张三',
      introduction: '关于你。一次聊天，我说我要回家了，你说你也要回家了，我没有想过在这个季节，我们会同在我们的城市，可是即使我们在同一个城市又怎样，最远的距离就是，我们在同一个城市却感觉离得如此遥远。突然听说你们分手了，我心里的感觉就连我自己也说不出来，我本应该高兴，可我却高兴不起来，四年，你们一路走来有分有和，算是真爱，为什么我会高兴不起来，大概是已经习惯了默默地喜欢着你，不求结果。我们也有说过要约，那晚终于约了，见面第一眼，真的此时的心情，我是很激动的，有欢喜的成分，也有些担心，担心的是我怕我不能把我最好的状态展现给你，更多的还是感动，能和你并肩走着，是上学时我想都不敢想的事情。如果我是风中的叶子，便希望能以最美的姿态落下，因为不想让你看到我的忧伤，也许是这世上的美，都有些苍凉，缘是云水深处无言的守候，是一纸素笺的暖，是光阴写意最美的诗行。我们围着公园绕了一圈，原以为会尴尬，会词穷，可是你一句我一句，我们沐浴在晚风中，我是享受这样的感觉，直到你送我到楼下，你要离开，多想给你一个拥抱，把我有多爱你告诉你。可是我还是没有，只是默默看着你离开的背影，在黑夜慢慢远去直到消失在拐角处。我多么希望，你能懂我沉默，懂我无声，懂我的欲言又止。有时你看不见我，是因为我悄悄藏在了你身后；有时你听不见我，是因为我偷偷用静默伪装了自己。其实我害怕寂寞，但却因为你会让自己陷进很深的寂寞；其实也害怕孤独，但因为你山高水远，而我又无能为力。纵然你有万事牵绊，只要你需要，我一定会义无反顾。'
    }
  })
})

router.get('/Mccard/Ajax/GetClassInfoByEquipmentCode', function (req, res) {
  res.send({
    'data': {
      'id': '91',
      'code': '5-1',
      'grade_id': '4815605109944273705',
      'grade_name': '五年级',
      'class_id': '5336398654081858409',
      'class_name': '1班',
      'teacher_id': '4922988458797286490',
      'teacher_name': '胡芳',
      'status': 0,
      'off_or_on': 0,
      'is_deleted': 0,
      'schoolid': '5703644480394352156',
      'campusid': '4667067775646393604',
      'terminalno': null,
      'factoryno': null,
      'ratio': null,
      'schoolname': null,
      'campusname': null,
      'addressid': 0,
      'type': 0,
      'typename': null,
      'addressname': null,
      'departmentid': '0'
    }, 'code': 0, 'message': 'success', 'is_succeed': true
  })
})

router.post('/Mccard/ClassBrand/GetGroupEditModel', function (req, res) {
  res.send({
    'data': {
      'id': '5336398654081858409',
      'grade_id': '4815605109944273705',
      'grade_name': '五年级',
      'name': '1班',
      'teacher_id': null,
      'equipment_code': null,
      'year': '2013',
      'period_id': 1001,
      'SchoolId': '5703644480394352156',
      'CampusId': '4667067775646393604',
      'DepartmentId': '4817029014315067422',
      'Number': '1'
    }, 'code': 0, 'message': 'success', 'is_succeed': true
  })
})

router.get('/Mccard/Ajax/GetContentList', function (req, res) {
  res.send({
    'data': [{
      'id': '1',
      'title': '213113',
      'description': '测试测试测试测试测试彩色测试测试测试测试测试彩色测试测试测试测试测试彩色测试测试测试测试测试彩色测试测试测试测试测试彩色测试测试测试测试测试彩色测试测试测试测试测试彩色测试测试测试测试测试彩色测试测试测试测试测试彩色',
      'icon': null,
      'status': 0,
      'modular_id': '1',
      'modular_name': null,
      'grade_id': '4815605109944273705',
      'grade_name': '五年级',
      'period_id': 0,
      'year': 0,
      'class_id': '5336398654081858409',
      'class_name': '1班',
      'teacher': null,
      'url': null,
      'file_type': '5',
      'displayorder': '0',
      'created_on': '2017-12-21 16:13:10',
      'created_by': '467074',
      'created_by_name': '胡芳'
    }, {
      'id': '2',
      'title': '1231231',
      'description': '爱的是飞洒发生按地方萨芬撒地方打发打发士大夫多发发爱的是飞洒发生按地方萨芬撒地方打发打发士大夫多发发爱的是飞洒发生按地方萨芬撒地方打发打发士大夫多发发爱的是飞洒发生按地方萨芬撒地方打发打发士大夫多发发爱的是飞洒发生按地方萨芬撒地方打发打发士大夫多发发爱的是飞洒发生按地方萨芬撒地方打发打发士大夫多发发爱的是飞洒发生按地方萨芬撒地方打发打发士大夫多发发爱的是飞洒发生按地方萨芬撒地方打发打发士大夫多发发爱的是飞洒发生按地方萨芬撒地方打发打发士大夫多发发爱的是飞洒发生按地方萨芬撒地方打发打发士大夫多发发爱的是飞洒发生按地方萨芬撒地方打发打发士大夫多发发爱的是飞洒发生按地方萨芬撒地方打发打发士大夫多发发爱的是飞洒发生按地方萨芬撒地方打发打发士大夫多发发',
      'icon': null,
      'status': 0,
      'modular_id': '2',
      'modular_name': null,
      'grade_id': '4815605109944273705',
      'grade_name': '五年级',
      'period_id': 0,
      'year': 0,
      'class_id': '5336398654081858409',
      'class_name': '1班',
      'teacher': null,
      'url': null,
      'file_type': '5',
      'displayorder': '0',
      'created_on': '2017-12-21 16:13:20',
      'created_by': '467074',
      'created_by_name': '胡芳'
    }, {
      'id': '3',
      'title': null,
      'description': null,
      'icon': null,
      'status': 0,
      'modular_id': '3',
      'modular_name': null,
      'grade_id': '4815605109944273705',
      'grade_name': '五年级',
      'period_id': 0,
      'year': 0,
      'class_id': '5336398654081858409',
      'class_name': '1班',
      'teacher': null,
      'url': 'http://i40.shenduxuetang.com/b7ab6987-ebd3-4510-800a-042b2108d0d6',
      'file_type': '1',
      'displayorder': '0',
      'created_on': '2017-12-21 16:13:30',
      'created_by': '467074',
      'created_by_name': '胡芳'
    }, {
      'id': '4',
      'title': null,
      'description': null,
      'icon': null,
      'status': 0,
      'modular_id': '3',
      'modular_name': null,
      'grade_id': '4815605109944273705',
      'grade_name': '五年级',
      'period_id': 0,
      'year': 0,
      'class_id': '5336398654081858409',
      'class_name': '1班',
      'teacher': null,
      'url': 'http://i40.shenduxuetang.com/b7ab6987-ebd3-4510-800a-042b2108d0d6',
      'file_type': '1',
      'displayorder': '0',
      'created_on': '2017-12-21 16:13:30',
      'created_by': '467074',
      'created_by_name': '胡芳'
    }], 'code': 0, 'message': 'success', 'is_succeed': true
  })
})

router.get('/ajax/GetExamNoticeByEquipmentCode', function (req, res) {
  res.send({
    'status': 200, 'message': 'ok', 'data': {
      name: '大考场',
      invigilators: '666',

      begin_time: '2017-12-21 22:57',
      end_time: '2017-12-21 23:00',
      currMsg: '考试了',
      message: [{
        message: 111,
        minute: 10
      }, {
        message: 123,
        minute: 5
      }, {
        message: 333,
        minute: 1
      }]
    }
  })
})

// router.get('/Mccard/Ajax/GetNoticeByEquipmentCode', function (req, res) {
//   res.send({
//     'status': 200, 'message': 'ok', 'data': {
//       title: '大标题，大大大大大大',
//       content: `
// <div style="height: 2000px">123</div>
// `
//     }
//   })
// })
var i = 0
router.get('/Mccard/Ajax/GetNoticeByEquipmentCode', function (req, res) {
  res.send({
    "data": {
      "id": "4952558074366523130",
      "inter_plan_id": "4899186503951586950",
      "priority": 1,
      "title": "紧急通知",
      "device_type": 1,
      "plan_type": 1,
      "template_type": 1,
      "template_id": "1",
      "start_date": "2017-12-22 10:09:06",
      // "end_date": (++i % 2)?"2017-12-22 18:55:00":"2017-12-22 14:55:00",
      // "end_date": "2019-12-22 14:55:00",
      "end_date": "2017-12-22 14:55:00",
      "content": "<p>紧急通知珠海凤凰山突发大火，请各单位做好紧急撤离和防护工作紧急通知珠海凤凰山突发大火，请各单位做好紧急撤离和防护工作</p>",
      "school_id": "5187489047437737282",
      "campus_id": "5215494028518263026",
      "created_on": "2017-12-21 10:38:59",
      "created_by": "451872",
      "updated_on": "2017-12-21 19:38:59",
      "updated_by": "451872",
      "is_disabled": 0,
      "is_deleted": 0,
      "status": 1,
      "interplanclass": [
        {
          "PlanDetailId": "4952558074366523130",
          "ClassId": "4643693813825139198"
        }
      ]
    },
    "code": 0,
    "message": "success",
    "is_succeed": true
  })
})

// 模拟 .net 代理
router.post('/Mccard/ClassBrand/GetCommonDataSetUrl', function (req, res) {
  if (/\/classesByOverType/.test(req.body.url)) {

    let stay = []
    for (let i = 0, len = 14; i < len; i++) {
      stay.push({
        "grade_id": 540 + i + "7320188371196100",
        "grade_name": "高" + ['一', '二', '三'][~~(3 * Math.random())],
        "grade_id1": "1021",
        "class_id": 501 + i + "3776864083419100",
        "class_name": i + "2班",
        "is_self": "false", // 以下字段忽略
        "escrow_type": "0",
        "over_type": "0",
        "am_end_time": "",
        "pm_end_time": ""
      })
    }

    let leving = []
    for (let i = 0, len = 14; i < len; i++) {
      leving.push({
        "grade_id": 540 + i + "7320188371196101",
        "grade_name": "高高高高高" + ['一', '二', '三'][~~(3 * Math.random())],
        "grade_id1": "1021",
        "class_id": 501 + i + "3776864083419101",
        "class_name": i + "2班",
        "is_self": "false", // 以下字段忽略
        "escrow_type": "0",
        "over_type": "2",
        "am_end_time": "",
        "pm_end_time": ""
      })
    }

    let gone = []
    for (let i = 0, len = 14; i < len; i++) {
      gone.push({
        "grade_id": 540 + i + "7320188371196102",
        "grade_name": "高" + ['一', '二', '三'][~~(3 * Math.random())],
        "grade_id1": "1021",
        "class_id": 501 + i + "3776864083419102",
        "class_name": i + "2班",
        "is_self": "false", // 以下字段忽略
        "escrow_type": "0",
        "over_type": "3",
        "am_end_time": "",
        "pm_end_time": ""
      })
    }

    res.send({
      "status": 200,
      "message": "ok",
      "result": {
        "classes": stay.concat(leving).concat(gone)
      }
    })
    return
  }
  if (/\/getClassInfo/.test(req.body.url)) {
    res.send({
      "status": 200,
      "message": "ok",
      "result": {
        "class_committee": [],
        "class_info": {
          "school_id": "5231563635968361351",
          "school_name": "深圳市南山区西丽实验小学",
          "campus_id": "4892271197889314468",
          "campus_name": "主校区",
          "dept_id": "4684828326703264678",
          "dept_name": "小学部",
          "grade_id": "4921975670543287431",
          "grade_name": "五年级",
          "class_id": "4616020942937744133",
          "class_number": "1",
          "class_name": "1班",
          "class_student_number": "0",
          "class_is_finished": "false",
          "head_teacher_id": "0",
          "head_teacher_name": ""
        }
      }
    })
    return
  }
  if (/\/getSchoolLogo/.test(req.body.url)) {
    res.send({
      "status": 200,
      "message": "ok",
      "result": {
        "data": {
          "id": "1240866496",
          "school_id": "5231563635968361351",
          "school_name": "西丽小学",
          "logo_url": "http://i40.shenduxuetang.com/7d4c43bd-443b-4cbb-b9f4-6f805c5e7d96"
        }
      }
    })
    return
  }
  if (/\/getDreamHorse/.test(req.body.url)) {
    res.send({
      "status": 200,
      "message": "ok",
      "result": {
        "data": [{
          "id": "4726327675448475",
          "name": "勤美星",
          "image": "http://i40.shenduxuetang.com/FuMParSyek9TfOc_lJBNFA24FgWl",
          "light": "true",
          "cpitem_id": "4944446338233396",
          "min_score": "0",
          "max_score": "999",
          "score": "0",
          "hornor_name": "",
          "school_id": "5187489047437737282",
          "campus_id": "5215494028518263026",
          "grade_id": "5762050929945232202",
          "class_id": "4988976135832424607"
        }]
      }
    })
    return
  }

  if (/\/getDreamHorse/.test(req.body.url)) {
    res.send({
      "status": 200,
      "message": "ok",
      "result": {
        "data": {
          "id": "4726327675448475",
          "name": "勤美星",
          "image": "http://i40.shenduxuetang.com/FuMParSyek9TfOc_lJBNFA24FgWl",
          "light": "true",
          "cpitem_id": "4944446338233396",
          "min_score": "0",
          "max_score": "999",
          "score": "0",
          "hornor_name": "",
          "school_id": "5187489047437737282",
          "campus_id": "5215494028518263026",
          "grade_id": "5762050929945232202",
          "class_id": "4988976135832424607"
        }
      }
    })
    return
  }

  if (/\/getBeautifulStars\//.test(req.body.url)) {
    res.send({
      "status": 200,
      "message": "ok",
      "result": {
        "data": [
          {
            "id": "2887732282462478",
            "name": "流动红旗",
            "image": "http://i40.shenduxuetang.com/Fhytme_lo3D0V0lBjuJDE4ekFMKu",
            "light": "true",
            "cpitem_id": "5693998876437595",
            "min_score": "2",
            "max_score": "4",
            "score": "3",
            "hornor_name": "高二四星称号",
            "school_id": "5187489047437737282",
            "campus_id": "5215494028518263026",
            "grade_id": "5762050929945232202",
            "class_id": "4988976135832424607"
          },
          {
            "id": "4726327675448475",
            "name": "勤美星",
            "image": "http://i40.shenduxuetang.com/FuMParSyek9TfOc_lJBNFA24FgWl",
            "light": "true",
            "cpitem_id": "4944446338233396",
            "min_score": "0",
            "max_score": "999",
            "score": "0",
            "hornor_name": "",
            "school_id": "5187489047437737282",
            "campus_id": "5215494028518263026",
            "grade_id": "5762050929945232202",
            "class_id": "4988976135832424607"
          },
          {
            "id": "8553354734745949",
            "name": "仪美星",
            "image": "http://i40.shenduxuetang.com/FuMParSyek9TfOc_lJBNFA24FgWl",
            "light": "true",
            "cpitem_id": "7768647337873636",
            "min_score": "0",
            "max_score": "999",
            "score": "0",
            "hornor_name": "",
            "school_id": "5187489047437737282",
            "campus_id": "5215494028518263026",
            "grade_id": "5762050929945232202",
            "class_id": "4988976135832424607"
          }
        ]
      }
    })
    return
  }
  // 今日签到
  if (/\/getSignInfo/.test(req.body.url)) {
    res.send({
      "status": 200,
      "message": "ok",
      "result": {
        "afternoon_attend_count": 0,
        "leave_counts": [],
        "morning_attend_count": 0,
        "students_count": 0
      }
    })
    return
  }

  // 今日表现
  if (/\/getClassRulePerf/.test(req.body.url)) {
    res.send({
      "status": 200,
      "message": "ok",
      "result": {
        "data": [{
          "rule_id": "34",
          "rule_name": "七项扣分",
          "score": "-3",
          "class_id": "5481932890223201324"
        }, {
          "rule_id": "9",
          "rule_name": "物业检查扣分",
          "score": "-4",
          "class_id": "5481932890223201324"
        }, {
          "rule_id": "7",
          "rule_name": "值日生检查扣分",
          "score": "-2",
          "class_id": "5481932890223201324"
        }]
      }
    })
    return
  }

  // 校区所有班级的美星荣誉
  if (/\/getBeautifulStarsOfACampus/.test(req.body.url)) {
    res.send(require('./getBeautifulStarsOfACampus.1.js'))
    return
  }

  // 获取最新公告
  if (/\/proclamation\//.test(req.body.url)) {
    res.send({
      "status": 200,
      "message": "ok",
      "result": {
        "proclamations": [
          {
            "id": "10032",
            "title": "失物招领",
            "content": "捡到一串钥匙",
            "target_id": "0",
            "school_id": "4743935625164463028",
            "campus_id": "5255421148254165520",
            "created_by": "374022",
            "created_by_name": "李老师",
            "created_on": "2018-08-02T11:25:24+08:00"
          }
        ]
      }
    })
    return
  }

  // 获取校区周荣誉称号及LOGO列表
  if (/\/weekHonorNameAndImageList\//.test(req.body.url)) {
    res.send({
      "status": 200,
      "message": "ok",
      "result": {
        "data": [
          {
            "honor_name": "安美星",
            "honor_image": "http://i40.shenduxuetang.com/FqMmOvM0BHwjF2dKuWG1TKfARfcf"
          },
          {
            "honor_name": "勤美星",
            "honor_image": "http://i40.shenduxuetang.com/FqMmOvM0BHwjF2dKuWG1TKfARfcf"
          },
          {
            "honor_name": "仪美星",
            "honor_image": "http://i40.shenduxuetang.com/FqMmOvM0BHwjF2dKuWG1TKfARfcf"
          },
          {
            "honor_name": "境美星",
            "honor_image": "http://i40.shenduxuetang.com/FqMmOvM0BHwjF2dKuWG1TKfARfcf"
          },
          {
            "honor_name": "创美星",
            "honor_image": "http://i40.shenduxuetang.com/FqMmOvM0BHwjF2dKuWG1TKfARfcf"
          }
        ]
      }
    })
    return
  }
  // 统计校区所有教师的授课和听课次数
  // /lecture/v1/statsCoursesFrequenceOfACampus?range_type=this_semester&start_year=2018&offset=0&list_mun=5
  // 参数: range_type => 时间范围 this_semester 本学期 first_semester 上学期 second_semester 下学期 start_year 学期起始年份 this_month 本月 this_week 本周 offset => 分页查询起始位置 list_mun => 分页查询每页条数
  if (/\/statsCoursesFrequenceOfACampus/.test(req.body.url)) {
    res.send({
      "status": 200,
      "message": "ok",
      "result": {
        "course_frequence_list": [{
          "user_id": "499391", // 教师用户ID
          "user_name": "01",   // 教师用户名
          "teaching_num": "10", // 授课数
          "listen_num": "11" // 听课数
        }, {
          "user_id": "499392",
          "user_name": "02",
          "teaching_num": "0",
          "listen_num": "0"
        }, {
          "user_id": "499393",
          "user_name": "03",
          "teaching_num": "0",
          "listen_num": "0"
        }, {
          "user_id": "499394",
          "user_name": "04",
          "teaching_num": "0",
          "listen_num": "1"
        }, {
          "user_id": "499395",
          "user_name": "05",
          "teaching_num": "0",
          "listen_num": "0"
        }]
      }
    })
    return
  }

  res.send({
    "status": 0,
    "message": "失败",
    "result": {
    }
  })
})


module.exports = router
